import request from '@/assets/ts/request'

// 获取轮播
export const banner = (type: number) => {
  return request.get('/banner', {
    params: { type },
  })
}

// 获取推荐新音乐
export const personalizedNewsong = (limit = 12) => {
  return request.get('/personalized/newsong', {
    params: { limit },
  })
}
